Codes
Code your ideas for understanding of natural systems
Updated at 2021.6.7
C# Language Reference
C#에 대한 기본 명세서로서 하기 내용에 대해 익힐 필요가 있다.
Types
- Value types
- Integral numeric types
- Floating-point numeric types
- Built-in numeric conversions
boolchar- Enumeration types
- Structure types
- Tuple types
- Nullable value types
- Reference types
- Features of reference types
- Built-in reference types
classinterface- Nullable reference types
voidvar- Built-in types
- Unmanaged types
- Default values
Keywords
- Modifiers
- Access Modifiers
- Accessibility Levels
- Accessibility Domain
- Restrictions on Using Accessibility Levels
internalprivateprotectedpublicprotected internalprivate protected
abstractasyncconsteventexternin(generic modifier)new(member modifier)out(generic modifier)overridereadonlysealedstaticunsafevirtualvolatile
- Access Modifiers
- Statement Keywords
- Selection Statements
if-elseswitch
- Iteration Statements
doforforeach,inwhile
- Jump Statements
breakcontinuegotoreturn
- Exception Handling Statements
throwtry-catchtry-finallytry-catch-finally
- Checked and Unchecked
- Overview
checkedunchecked
fixedStatementlockStatement
- Selection Statements
- Method Parameters
- Passing parameters
paramsin(Parameter Modifier)refout(Parameter Modifier)
- Namespace Keywords
namespaceusing- Contexts for
using usingDirectiveusing staticDirectiveusingStatement
- Contexts for
externalias
- Type-testing Keywords
is
- Generic Type Constraint Keywords
newconstraintwhere
- Access Keywords
basethis
- Literal Keywords
nulltrueandfalsedefault
- Contextual Keywords
addgetpartial(Type)partial(Method)removesetwhen(filter condition)valueyield
- Query Keywords
fromclausewhereclauseselectclausegroupclauseintoorderbyclausejoinclauseletclauseascendingdescendingonequalsbyin
Operators and expressions
- Arithmetic operators
- Boolean logical operators
- Bitwise and shift operators
- Equality operators
- Comparison operators
- Member access operators and expressions
- Type-testing operators and cast expression
- User-defined conversion operators
- Pointer-related operators
- Assignment operators
- Lambda expressions
+and+=operators-and-=operators?:operator!(null-forgiving) operator??and??=operators=>operator::operatorawaitoperatordefaultvalue expressionsdelegateoperatornameofexpressionnewoperatorsizeofoperatorstackallocexpressionswitchexpressiontrueandfalseoperatorswithexpression- Operator overloading
Special characters
$-- string interpolation@-- verbatim identifier
Attributes read by the compiler
- Global attributes
- General
- Caller information
- Nullable static analysis
Preprocessor directives
- #if
- #else
- #elif
- #endif
- #define
- #undef
- #warning
- #error
- #line
- #nullable
- #region
- #endregion
- #pragma
- #pragma warning
- #pragmachecksum
Compiler options
- Command-line Building With csc.exe
- C# Compiler Options Listed Alphabetically
@- -addmodule
- -appconfig
- -baseaddress
- -bugreport
- -checked
- -codepage
- -debug
- -define
- -delaysign
- -deterministic
- -doc
- -errorreport
- -filealign
- -fullpaths
- -help, -?
- -highentropyva
- -keycontainer
- -keyfile
- -langversion
- -lib
- -link
- -linkresource
- -main
- -moduleassemblyname
- -noconfig
- -nologo
- -nostdlib
- -nowarn
- -nowin32manifest
- -nullable
- -optimize
- -out
- -pathmap
- -pdb
- -platform
- -preferreduilang
- -publicsign
- -recurse
- -reference
- -refout
- -refonly
- -resource
- -subsystemversion
- -target
- -target:appcontainerexe
- -target:exe
- -target:library
- -target:module
- -target:winexe
- -target:winmdobj
- -unsafe
- -utf8output
- -warn
- -warnaserror
- -win32icon
- -win32manifest
- -win32res
총 17 개의 글이 있습니다.
| # | 제목 | 날짜 | 조회수 |
|---|---|---|---|
| 01 | CS 배우기 요약 | 2021/06/07 | 298 |
| 02 | CS Statements | 2021/06/07 | 260 |
| 03 | 퍼셉트론 | 2021/04/15 | 260 |
| 04 | Blazor and Sqlite | 2021/04/15 | 328 |
| 05 | Blazor Layouts | 2021/04/15 | 300 |
| 06 | CS Language Reference | 2021/06/07 | 308 |
| 07 | VSCode and Markdown | 2021/04/15 | 284 |
| 08 | Blazor에서 이미지파일 다루기 | 2021/06/10 | 406 |
| 09 | Blazor and Markdown | 2021/04/15 | 393 |
| 10 | 종속성 주입 | 2021/06/07 | 288 |
| 11 | Blazor에서 데이터 다루기 | 2021/06/07 | 288 |
| 12 | Blazor Components | 2021/04/15 | 288 |
| 13 | CS Glossary | 2021/06/07 | 300 |
| 14 | Enum 타입 다루기 | 2021/12/14 | 306 |
| 15 | 생활코딩 CS01 | 2022/04/25 | 463 |
| 16 | 생활코딩 CS02 | 2022/04/30 | 363 |
| 17 | 생활코딩 CS03 | 2022/04/30 | 709 |